import request from "@/utils/request";

// 导入
export function ImportData(data, menuId) {
  return request({
    url: `/api/course/TemsCertUser/importData/${menuId}`,
    method: "post",
    data,
  });
}

// 导入预览
export function ImportPreview(data) {
  return request({
    url: "/api/course/TemsCertUser/importPreview",
    method: "get",
    data,
  });
}

// 模板下载
export function TemplateDownload() {
  return request({
    url: "/api/course/TemsCertUser/templateDownload",
    method: "get",
  });
}
